package cn.gdut.chengcai.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CourseInfoExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public CourseInfoExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id_ is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id_ is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Long value) {
			addCriterion("id_ =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Long value) {
			addCriterion("id_ <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Long value) {
			addCriterion("id_ >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Long value) {
			addCriterion("id_ >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Long value) {
			addCriterion("id_ <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Long value) {
			addCriterion("id_ <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Long> values) {
			addCriterion("id_ in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Long> values) {
			addCriterion("id_ not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Long value1, Long value2) {
			addCriterion("id_ between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Long value1, Long value2) {
			addCriterion("id_ not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andSnIsNull() {
			addCriterion("sn_ is null");
			return (Criteria) this;
		}

		public Criteria andSnIsNotNull() {
			addCriterion("sn_ is not null");
			return (Criteria) this;
		}

		public Criteria andSnEqualTo(String value) {
			addCriterion("sn_ =", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotEqualTo(String value) {
			addCriterion("sn_ <>", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThan(String value) {
			addCriterion("sn_ >", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThanOrEqualTo(String value) {
			addCriterion("sn_ >=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThan(String value) {
			addCriterion("sn_ <", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThanOrEqualTo(String value) {
			addCriterion("sn_ <=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLike(String value) {
			addCriterion("sn_ like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotLike(String value) {
			addCriterion("sn_ not like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnIn(List<String> values) {
			addCriterion("sn_ in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotIn(List<String> values) {
			addCriterion("sn_ not in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnBetween(String value1, String value2) {
			addCriterion("sn_ between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotBetween(String value1, String value2) {
			addCriterion("sn_ not between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andNameIsNull() {
			addCriterion("name_ is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name_ is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name_ =", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotEqualTo(String value) {
			addCriterion("name_ <>", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name_ >", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThanOrEqualTo(String value) {
			addCriterion("name_ >=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThan(String value) {
			addCriterion("name_ <", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThanOrEqualTo(String value) {
			addCriterion("name_ <=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLike(String value) {
			addCriterion("name_ like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotLike(String value) {
			addCriterion("name_ not like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameIn(List<String> values) {
			addCriterion("name_ in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotIn(List<String> values) {
			addCriterion("name_ not in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameBetween(String value1, String value2) {
			addCriterion("name_ between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name_ not between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andPicUrlIsNull() {
			addCriterion("pic_url_ is null");
			return (Criteria) this;
		}

		public Criteria andPicUrlIsNotNull() {
			addCriterion("pic_url_ is not null");
			return (Criteria) this;
		}

		public Criteria andPicUrlEqualTo(String value) {
			addCriterion("pic_url_ =", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlNotEqualTo(String value) {
			addCriterion("pic_url_ <>", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlGreaterThan(String value) {
			addCriterion("pic_url_ >", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
			addCriterion("pic_url_ >=", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlLessThan(String value) {
			addCriterion("pic_url_ <", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlLessThanOrEqualTo(String value) {
			addCriterion("pic_url_ <=", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlLike(String value) {
			addCriterion("pic_url_ like", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlNotLike(String value) {
			addCriterion("pic_url_ not like", value, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlIn(List<String> values) {
			addCriterion("pic_url_ in", values, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlNotIn(List<String> values) {
			addCriterion("pic_url_ not in", values, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlBetween(String value1, String value2) {
			addCriterion("pic_url_ between", value1, value2, "picUrl");
			return (Criteria) this;
		}

		public Criteria andPicUrlNotBetween(String value1, String value2) {
			addCriterion("pic_url_ not between", value1, value2, "picUrl");
			return (Criteria) this;
		}

		public Criteria andIntroIsNull() {
			addCriterion("intro_ is null");
			return (Criteria) this;
		}

		public Criteria andIntroIsNotNull() {
			addCriterion("intro_ is not null");
			return (Criteria) this;
		}

		public Criteria andIntroEqualTo(String value) {
			addCriterion("intro_ =", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotEqualTo(String value) {
			addCriterion("intro_ <>", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroGreaterThan(String value) {
			addCriterion("intro_ >", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroGreaterThanOrEqualTo(String value) {
			addCriterion("intro_ >=", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLessThan(String value) {
			addCriterion("intro_ <", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLessThanOrEqualTo(String value) {
			addCriterion("intro_ <=", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLike(String value) {
			addCriterion("intro_ like", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotLike(String value) {
			addCriterion("intro_ not like", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroIn(List<String> values) {
			addCriterion("intro_ in", values, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotIn(List<String> values) {
			addCriterion("intro_ not in", values, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroBetween(String value1, String value2) {
			addCriterion("intro_ between", value1, value2, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotBetween(String value1, String value2) {
			addCriterion("intro_ not between", value1, value2, "intro");
			return (Criteria) this;
		}

		public Criteria andLevelIsNull() {
			addCriterion("level_ is null");
			return (Criteria) this;
		}

		public Criteria andLevelIsNotNull() {
			addCriterion("level_ is not null");
			return (Criteria) this;
		}

		public Criteria andLevelEqualTo(Byte value) {
			addCriterion("level_ =", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelNotEqualTo(Byte value) {
			addCriterion("level_ <>", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelGreaterThan(Byte value) {
			addCriterion("level_ >", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelGreaterThanOrEqualTo(Byte value) {
			addCriterion("level_ >=", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelLessThan(Byte value) {
			addCriterion("level_ <", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelLessThanOrEqualTo(Byte value) {
			addCriterion("level_ <=", value, "level");
			return (Criteria) this;
		}

		public Criteria andLevelIn(List<Byte> values) {
			addCriterion("level_ in", values, "level");
			return (Criteria) this;
		}

		public Criteria andLevelNotIn(List<Byte> values) {
			addCriterion("level_ not in", values, "level");
			return (Criteria) this;
		}

		public Criteria andLevelBetween(Byte value1, Byte value2) {
			addCriterion("level_ between", value1, value2, "level");
			return (Criteria) this;
		}

		public Criteria andLevelNotBetween(Byte value1, Byte value2) {
			addCriterion("level_ not between", value1, value2, "level");
			return (Criteria) this;
		}

		public Criteria andCatalogIdIsNull() {
			addCriterion("catalog_id_ is null");
			return (Criteria) this;
		}

		public Criteria andCatalogIdIsNotNull() {
			addCriterion("catalog_id_ is not null");
			return (Criteria) this;
		}

		public Criteria andCatalogIdEqualTo(Byte value) {
			addCriterion("catalog_id_ =", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdNotEqualTo(Byte value) {
			addCriterion("catalog_id_ <>", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdGreaterThan(Byte value) {
			addCriterion("catalog_id_ >", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdGreaterThanOrEqualTo(Byte value) {
			addCriterion("catalog_id_ >=", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdLessThan(Byte value) {
			addCriterion("catalog_id_ <", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdLessThanOrEqualTo(Byte value) {
			addCriterion("catalog_id_ <=", value, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdIn(List<Byte> values) {
			addCriterion("catalog_id_ in", values, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdNotIn(List<Byte> values) {
			addCriterion("catalog_id_ not in", values, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdBetween(Byte value1, Byte value2) {
			addCriterion("catalog_id_ between", value1, value2, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCatalogIdNotBetween(Byte value1, Byte value2) {
			addCriterion("catalog_id_ not between", value1, value2, "catalogId");
			return (Criteria) this;
		}

		public Criteria andCategoryNameIsNull() {
			addCriterion("category_name_ is null");
			return (Criteria) this;
		}

		public Criteria andCategoryNameIsNotNull() {
			addCriterion("category_name_ is not null");
			return (Criteria) this;
		}

		public Criteria andCategoryNameEqualTo(String value) {
			addCriterion("category_name_ =", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameNotEqualTo(String value) {
			addCriterion("category_name_ <>", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameGreaterThan(String value) {
			addCriterion("category_name_ >", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameGreaterThanOrEqualTo(String value) {
			addCriterion("category_name_ >=", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameLessThan(String value) {
			addCriterion("category_name_ <", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameLessThanOrEqualTo(String value) {
			addCriterion("category_name_ <=", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameLike(String value) {
			addCriterion("category_name_ like", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameNotLike(String value) {
			addCriterion("category_name_ not like", value, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameIn(List<String> values) {
			addCriterion("category_name_ in", values, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameNotIn(List<String> values) {
			addCriterion("category_name_ not in", values, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameBetween(String value1, String value2) {
			addCriterion("category_name_ between", value1, value2, "categoryName");
			return (Criteria) this;
		}

		public Criteria andCategoryNameNotBetween(String value1, String value2) {
			addCriterion("category_name_ not between", value1, value2, "categoryName");
			return (Criteria) this;
		}

		public Criteria andChapterNumIsNull() {
			addCriterion("chapter_num_ is null");
			return (Criteria) this;
		}

		public Criteria andChapterNumIsNotNull() {
			addCriterion("chapter_num_ is not null");
			return (Criteria) this;
		}

		public Criteria andChapterNumEqualTo(Integer value) {
			addCriterion("chapter_num_ =", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumNotEqualTo(Integer value) {
			addCriterion("chapter_num_ <>", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumGreaterThan(Integer value) {
			addCriterion("chapter_num_ >", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumGreaterThanOrEqualTo(Integer value) {
			addCriterion("chapter_num_ >=", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumLessThan(Integer value) {
			addCriterion("chapter_num_ <", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumLessThanOrEqualTo(Integer value) {
			addCriterion("chapter_num_ <=", value, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumIn(List<Integer> values) {
			addCriterion("chapter_num_ in", values, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumNotIn(List<Integer> values) {
			addCriterion("chapter_num_ not in", values, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumBetween(Integer value1, Integer value2) {
			addCriterion("chapter_num_ between", value1, value2, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andChapterNumNotBetween(Integer value1, Integer value2) {
			addCriterion("chapter_num_ not between", value1, value2, "chapterNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumIsNull() {
			addCriterion("lesson_num_ is null");
			return (Criteria) this;
		}

		public Criteria andLessonNumIsNotNull() {
			addCriterion("lesson_num_ is not null");
			return (Criteria) this;
		}

		public Criteria andLessonNumEqualTo(Integer value) {
			addCriterion("lesson_num_ =", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumNotEqualTo(Integer value) {
			addCriterion("lesson_num_ <>", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumGreaterThan(Integer value) {
			addCriterion("lesson_num_ >", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumGreaterThanOrEqualTo(Integer value) {
			addCriterion("lesson_num_ >=", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumLessThan(Integer value) {
			addCriterion("lesson_num_ <", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumLessThanOrEqualTo(Integer value) {
			addCriterion("lesson_num_ <=", value, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumIn(List<Integer> values) {
			addCriterion("lesson_num_ in", values, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumNotIn(List<Integer> values) {
			addCriterion("lesson_num_ not in", values, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumBetween(Integer value1, Integer value2) {
			addCriterion("lesson_num_ between", value1, value2, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andLessonNumNotBetween(Integer value1, Integer value2) {
			addCriterion("lesson_num_ not between", value1, value2, "lessonNum");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameIsNull() {
			addCriterion("speaker_name_ is null");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameIsNotNull() {
			addCriterion("speaker_name_ is not null");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameEqualTo(String value) {
			addCriterion("speaker_name_ =", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameNotEqualTo(String value) {
			addCriterion("speaker_name_ <>", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameGreaterThan(String value) {
			addCriterion("speaker_name_ >", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameGreaterThanOrEqualTo(String value) {
			addCriterion("speaker_name_ >=", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameLessThan(String value) {
			addCriterion("speaker_name_ <", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameLessThanOrEqualTo(String value) {
			addCriterion("speaker_name_ <=", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameLike(String value) {
			addCriterion("speaker_name_ like", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameNotLike(String value) {
			addCriterion("speaker_name_ not like", value, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameIn(List<String> values) {
			addCriterion("speaker_name_ in", values, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameNotIn(List<String> values) {
			addCriterion("speaker_name_ not in", values, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameBetween(String value1, String value2) {
			addCriterion("speaker_name_ between", value1, value2, "speakerName");
			return (Criteria) this;
		}

		public Criteria andSpeakerNameNotBetween(String value1, String value2) {
			addCriterion("speaker_name_ not between", value1, value2, "speakerName");
			return (Criteria) this;
		}

		public Criteria andCommentCountIsNull() {
			addCriterion("comment_count_ is null");
			return (Criteria) this;
		}

		public Criteria andCommentCountIsNotNull() {
			addCriterion("comment_count_ is not null");
			return (Criteria) this;
		}

		public Criteria andCommentCountEqualTo(Long value) {
			addCriterion("comment_count_ =", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountNotEqualTo(Long value) {
			addCriterion("comment_count_ <>", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountGreaterThan(Long value) {
			addCriterion("comment_count_ >", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountGreaterThanOrEqualTo(Long value) {
			addCriterion("comment_count_ >=", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountLessThan(Long value) {
			addCriterion("comment_count_ <", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountLessThanOrEqualTo(Long value) {
			addCriterion("comment_count_ <=", value, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountIn(List<Long> values) {
			addCriterion("comment_count_ in", values, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountNotIn(List<Long> values) {
			addCriterion("comment_count_ not in", values, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountBetween(Long value1, Long value2) {
			addCriterion("comment_count_ between", value1, value2, "commentCount");
			return (Criteria) this;
		}

		public Criteria andCommentCountNotBetween(Long value1, Long value2) {
			addCriterion("comment_count_ not between", value1, value2, "commentCount");
			return (Criteria) this;
		}

		public Criteria andViewCountIsNull() {
			addCriterion("view_count_ is null");
			return (Criteria) this;
		}

		public Criteria andViewCountIsNotNull() {
			addCriterion("view_count_ is not null");
			return (Criteria) this;
		}

		public Criteria andViewCountEqualTo(Long value) {
			addCriterion("view_count_ =", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountNotEqualTo(Long value) {
			addCriterion("view_count_ <>", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountGreaterThan(Long value) {
			addCriterion("view_count_ >", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountGreaterThanOrEqualTo(Long value) {
			addCriterion("view_count_ >=", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountLessThan(Long value) {
			addCriterion("view_count_ <", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountLessThanOrEqualTo(Long value) {
			addCriterion("view_count_ <=", value, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountIn(List<Long> values) {
			addCriterion("view_count_ in", values, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountNotIn(List<Long> values) {
			addCriterion("view_count_ not in", values, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountBetween(Long value1, Long value2) {
			addCriterion("view_count_ between", value1, value2, "viewCount");
			return (Criteria) this;
		}

		public Criteria andViewCountNotBetween(Long value1, Long value2) {
			addCriterion("view_count_ not between", value1, value2, "viewCount");
			return (Criteria) this;
		}

		public Criteria andIsFreeIsNull() {
			addCriterion("is_free_ is null");
			return (Criteria) this;
		}

		public Criteria andIsFreeIsNotNull() {
			addCriterion("is_free_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsFreeEqualTo(Boolean value) {
			addCriterion("is_free_ =", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeNotEqualTo(Boolean value) {
			addCriterion("is_free_ <>", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeGreaterThan(Boolean value) {
			addCriterion("is_free_ >", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_free_ >=", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeLessThan(Boolean value) {
			addCriterion("is_free_ <", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeLessThanOrEqualTo(Boolean value) {
			addCriterion("is_free_ <=", value, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeIn(List<Boolean> values) {
			addCriterion("is_free_ in", values, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeNotIn(List<Boolean> values) {
			addCriterion("is_free_ not in", values, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeBetween(Boolean value1, Boolean value2) {
			addCriterion("is_free_ between", value1, value2, "isFree");
			return (Criteria) this;
		}

		public Criteria andIsFreeNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_free_ not between", value1, value2, "isFree");
			return (Criteria) this;
		}

		public Criteria andTotalPriceIsNull() {
			addCriterion("total_price_ is null");
			return (Criteria) this;
		}

		public Criteria andTotalPriceIsNotNull() {
			addCriterion("total_price_ is not null");
			return (Criteria) this;
		}

		public Criteria andTotalPriceEqualTo(Long value) {
			addCriterion("total_price_ =", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceNotEqualTo(Long value) {
			addCriterion("total_price_ <>", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceGreaterThan(Long value) {
			addCriterion("total_price_ >", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceGreaterThanOrEqualTo(Long value) {
			addCriterion("total_price_ >=", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceLessThan(Long value) {
			addCriterion("total_price_ <", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceLessThanOrEqualTo(Long value) {
			addCriterion("total_price_ <=", value, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceIn(List<Long> values) {
			addCriterion("total_price_ in", values, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceNotIn(List<Long> values) {
			addCriterion("total_price_ not in", values, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceBetween(Long value1, Long value2) {
			addCriterion("total_price_ between", value1, value2, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andTotalPriceNotBetween(Long value1, Long value2) {
			addCriterion("total_price_ not between", value1, value2, "totalPrice");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNull() {
			addCriterion("is_show_ is null");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNotNull() {
			addCriterion("is_show_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsShowEqualTo(Boolean value) {
			addCriterion("is_show_ =", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotEqualTo(Boolean value) {
			addCriterion("is_show_ <>", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThan(Boolean value) {
			addCriterion("is_show_ >", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ >=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThan(Boolean value) {
			addCriterion("is_show_ <", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ <=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowIn(List<Boolean> values) {
			addCriterion("is_show_ in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotIn(List<Boolean> values) {
			addCriterion("is_show_ not in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ not between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNull() {
			addCriterion("is_deleted_ is null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNotNull() {
			addCriterion("is_deleted_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedEqualTo(Boolean value) {
			addCriterion("is_deleted_ =", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotEqualTo(Boolean value) {
			addCriterion("is_deleted_ <>", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThan(Boolean value) {
			addCriterion("is_deleted_ >", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ >=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThan(Boolean value) {
			addCriterion("is_deleted_ <", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ <=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIn(List<Boolean> values) {
			addCriterion("is_deleted_ in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotIn(List<Boolean> values) {
			addCriterion("is_deleted_ not in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ not between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time_ is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time_ =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time_ <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time_ >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time_ >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time_ <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time_ <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time_ in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time_ not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time_ between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time_ not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time_ is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time_ =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time_ <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time_ >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time_ >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time_ <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time_ <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time_ in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time_ not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time_ between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time_ not between", value1, value2, "updateTime");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}